<?php 
	$this->load->view('header');
?>

<div id='login_form'>
	<h1>Login</h1>
	<?php 
		echo form_open('login/validate_credentials');
		echo form_input('username', 'Username');
		echo form_password('password', 'Password');
	
	?>
		<input type='submit' value='Login'>
		<?php echo anchor('login/signup', 'Create account'); ?>
	</form>
	
</div>

<?php 
	$this->load->view('footer');
?>